package com.sykj.manage.service.imp;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sykj.manage.dao.SysCatalogDao;
import com.sykj.manage.service.SysCalongService;
import com.sykj.manage.model.SysCatalog;

/**
 * 
 * @author 高志远
 *2018年9月14日下午2:24:54
 *类描述：分类科目[sys_catalog业务逻辑
 */
@Service
public class SysCalongServiceImpl implements SysCalongService{
	
	@Autowired
	SysCatalogDao sysCatalogDao;

	@Override
	public List<SysCatalog> findCatalogs(SysCatalog sysCatalog) {
		// TODO Auto-generated method stub
		return sysCatalogDao.findCatalogs(sysCatalog);
	}

	@Override
	public int delCatalogs(Object[] catalog_id) {
		// TODO Auto-generated method stub
		return sysCatalogDao.delCatalogs(catalog_id);
	}

	@Override
	public int addCatalog(SysCatalog sysCatalog) {
		// TODO Auto-generated method stub
		return sysCatalogDao.addCatalog(sysCatalog);
	}

	@Override
	public SysCatalog findCataById(String catalog_id) {
		// TODO Auto-generated method stub
		return sysCatalogDao.findCataById(catalog_id);
	}

	@Override
	public int updCatalog(SysCatalog sysCatalog) {
		// TODO Auto-generated method stub
		return sysCatalogDao.updCatalog(sysCatalog);
	}

	@Override
	public List<SysCatalog> findDicCatalogID() {
		// TODO Auto-generated method stub
		return sysCatalogDao.findDicCatalogID();
	}
	

}
